import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

/*
  Generated class for the Toggle page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Component({
  selector: 'page-toggle',
  templateUrl: 'toggle.html'
})
export class Toggle {
  data = {
    frodo: true,
    sam: false,
    eowyn: true,
    legolas: true,
    gimli: false,
    saruman: true,
    gandalf: true,
    arwen: false,
    boromir: false,
    gollum: true,
    galadriel: false
  };
  constructor(public navCtrl: NavController) {}

  ionViewDidLoad() {
    console.log('Hello Toggle Page');
  }

}
